package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Scenic;
import cn.wolfcode.trip.base.domain.Ticket;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.ScenicQueryObject;
import com.github.pagehelper.PageInfo;import java.util.List;

public interface IScenicService {

    PageInfo queryForApp(ScenicQueryObject qo);

    List<Scenic> queryForHot(Integer state);

    Scenic get(Long id);

    List<Ticket> getTicket(Long id);

    List<Scenic> listAll();

    PageInfo<Scenic> query(QueryObject qo);

    void saveOrUpdate(Scenic scenic);

    List listHistory();

    void insertHistory(String keyword);
}
